﻿@model EasyHome.Models.TablaDato

<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
    <h4 class="modal-title">Editar - Dato</h4>
</div>

@using (Html.BeginForm("Delete", "TablaDato", FormMethod.Post, new { @class = "modal-form" }))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    <div class="form-horizontal">
        <div class="modal-body">
            <h3>Are you sure you want to delete this?</h3>
            <dl class="dl-horizontal">
                <dt>
                    @Html.DisplayNameFor(model => model.Descripcion)
                </dt>
                <dd>
                    @Html.DisplayFor(model => model.Descripcion)
                </dd>
            </dl>
            <dl class="dl-horizontal">
                <dt>
                    @Html.DisplayNameFor(model => model.DescripcionAbreviada)
                </dt>
                <dd>
                    @Html.DisplayFor(model => model.DescripcionAbreviada)
                </dd>
            </dl>
            <dl class="dl-horizontal">
                <dt>
                    @Html.DisplayNameFor(model => model.TablaGenericaId)
                </dt>
                <dd>
                    @Html.DisplayFor(model => model.TablaGenerica.Descripcion)
                </dd>
            </dl>
        </div>
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary" type="submit">Save</button>
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
    </div>
}